package com.yu.tool;

import com.yu.POJO.Student;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LittleFisher
 * @Date: 2021/06/08/23:20
 * @Description: 分页工具类,给前端识别
 */

public class pageTool {
    private int Total;//总行数

    private List rows;//结果集
    @Override
    public String toString() {
        return "pageSC{" +
                "Total=" + Total +
                ", rows=" + rows +
                '}';
    }

    public int getTotal() {
        return Total;
    }

    public void setTotal(int total) {
        Total = total;
    }

    public List getRows() {
        return rows;
    }

    public void setRows(List rows) {
        this.rows = rows;
    }

}
